using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
//U001
public class TowerBase : MonoBehaviour, IPointerClickHandler
{
    public static TowerBase current;
    public void OnPointerClick(PointerEventData eventData)
    {
        Debug.Log("Click:"+this.name);
        PanelCreatTower.instance.Open();
        current = this;
    }
}
